package com.dayatang.hrm.compensation.domain;

import java.util.Date;

import com.dayatang.commons.domain.EntityRepository;

public interface FloatingEmployeeSalaryParameterSettingRepository extends
		EntityRepository<FloatingEmployeeSalaryParameterSetting, Long> {

	FloatingEmployeeSalaryParameterSetting get(
			FloatingEmployeeSalaryParameter parameter, Date queryDate);

	boolean isNameAlreadyUsedExceptSelf(String name, Date fromDate,
			Date toDate, FloatingEmployeeSalaryParameterSetting selfSetting);

}
